import HtmlParser from './HTMLParser/Parser/HtmlParser';

let htmlStr = `
    <div>
        <div name="what for?" id="gogogo" class="nameFor1 nameFor2" v-else onclick="whatFor()" ></div>
        <div name="what's your name?" id="go for what?" class="孤独 深不见底"  >
            <div> nothing is true , so what for? </div>
            <div />
            <div> can not be bad </div>
        </div>
    </div>
`;

let parser = new HtmlParser();
let element = parser.parse(htmlStr);
console.log(element);